package com.itheima.mm.dao;

import com.itheima.mm.pojo.User;
import org.apache.ibatis.annotations.Param;


public interface UserDao {
	/**
	 * 根据用户获取用户信息
	 * @param username
	 * @return
	 */
	User findByUsername(String username);

	User findById (@Param("id") int id);
}

